package by.msokoloff.javaweb2015.webapp.page.flight;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.Flight;

public class FlightEditPanel extends Panel {
	
	public FlightEditPanel(String id, Flight flight) {
		super(id);
		add(new FlightForm("flightEditForm", new CompoundPropertyModel<Flight>(flight)));
	}

}
